#pragma once

#include "actor.h"
#include "../gameSettings.h"

void foodTimeout(Actor *a);

class Food : public Actor {
public:
	Food(int in_x, int in_y, Facing in_o)
		: Actor(in_x, in_y, in_o)
	{
		addCallback(new TimedCallback(foodTimeout, FOOD_DURATION, false));
	}

	// get the tile representing the current actor
	TILE_TYPE getTile() {
		return FOOD;
	}
};
